/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.edu.ldu;

import cn.edu.ldu.util.Message;
import cn.edu.ldu.util.Translate;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import javax.swing.DefaultListModel;
import javax.swing.JOptionPane;

/**
 *接收和处理 来自用户注册是否成功的消息 的线程类,
 * 注意:注册页面已有该功能,
 * @author qingming
 */
public class ReceiveMessage_Register extends Thread {

    private DatagramSocket clientSocket; //会话套接字
    private RegisterUI parentUI; //父类
    private byte[] data = new byte[8096]; //8K字节数组
    private DefaultListModel listModel = new DefaultListModel(); //列表Model
    //构造函数

    public ReceiveMessage_Register(DatagramSocket socket, RegisterUI parentUI) {
        clientSocket = socket; //会话套接字
        this.parentUI = parentUI; //父类
    }

    @Override
    public void run() {
        
    }
}
